﻿using System.Collections.Generic;

namespace LB.Server.DAL.DomainEntitites
{
    public class Chapter
    {
        /// <summary>
        /// chapter Id
        /// </summary>
        public int ChapterId { get; set; }

        /// <summary>
        /// Chapter Title
        /// </summary>
        public string ChapterTitle { get; set; }

        /// <summary>
        /// Chapter creator
        /// </summary>
        public int Creator { get; set; }

        /// <summary>
        /// Book Id
        /// </summary>
        public int BookId { get; set; }

        /// <summary>
        /// Children 
        /// </summary>
        public List<Chapter> SubChapters { get; set; }
    }
}